package cn.com.oceansoft.business.danger.persistence;

import cn.com.oceansoft.business.base.entity.Pager;
import cn.com.oceansoft.business.base.entity.Query;
import cn.com.oceansoft.business.danger.entity.Attach;
import cn.com.oceansoft.business.danger.entity.Ptcsbz;
import cn.com.oceansoft.business.danger.entity.PtcsbzFlow;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by OS on 2018/5/28.
 */

@Repository
public interface IPtcsbzMapper {
    List<Ptcsbz> getPtcsbzList(Query query);

    void addPtcsbzFlow(PtcsbzFlow ptcsbzFlow);

    void editPtcsbz(@Param("id") String id,@Param("isconfirm")  String isconfirm);

    Ptcsbz findByid(String id);

    List<Attach> findAllAttach(String id);

    List<PtcsbzFlow> findAllFlowsbyPtcsbzd(String id);

    List<Ptcsbz> ptcsbztj1(Query query);

    List<Ptcsbz> ptcsbztj2(Query query);

    List<Ptcsbz> ptcsbztj3(Query query);

    List<Ptcsbz> ptcsbztj4(Query query);

    List<Ptcsbz> getPtcsbzDetailList(Query query);
}
